//这是测试构造方法的主类
public class TestStructure {
    public static void main(String[] args) {
        Derived testB = new Derived("B");
        System.out.println(testB);

        System.out.println("==============");

        Derived testA = new Derived();
        System.out.println(testA);
    }
}
